<template>
  <a-table-summary-cell :col-span="colSpan" :index="index">
    <slot />
  </a-table-summary-cell>
</template>

<script>
import { defineComponent } from 'vue'
import { TableSummaryCell } from 'ant-design-vue'
export default defineComponent({
  name: 'ZTableSummaryCell',
  components: {
    ATableSummaryCell: TableSummaryCell
  },
  props: {
    colSpan: {
      type: [Number, String],
      default: undefined
    },
    index: {
      type: [Number, String],
      default: undefined
    }
  }
})
</script>
